﻿using NUnit.Framework;
using Vk.Methods.Auth;
using Vk.Methods.Board;

namespace UnitTests
{
    [TestFixture]
    public class BoardTests : TestsBase
    {
        [Test]
        public void GetTopicsTest()
        {
            IsSignatureUpdated(typeof(Board).GetMethod("GetTopics"));
        }

        [Test]
        public void GetCommentsTest()
        {
            IsSignatureUpdated(typeof(Board).GetMethod("GetComments"));
        }

        [Test]
        public void AddTopicTest()
        {
            IsSignatureUpdated(typeof(Board).GetMethod("AddTopic"));
        }

        [Test]
        public void CreateCommentTest()
        {
            IsSignatureUpdated(typeof(Board).GetMethod("CreateComment"));
        }

        [Test]
        public void DeleteTopicTest()
        {
            IsSignatureUpdated(typeof(Board).GetMethod("DeleteTopic"));
        }

        [Test]
        public void EditTopicTest()
        {
            IsSignatureUpdated(typeof(Board).GetMethod("EditTopic"));
        }

        [Test]
        public void EditCommentTest()
        {
            IsSignatureUpdated(typeof(Board).GetMethod("EditComment"));
        }

        [Test]
        public void RestoreCommentTest()
        {
            IsSignatureUpdated(typeof(Board).GetMethod("RestoreComment"));
        }

        [Test]
        public void DeleteCommentTest()
        {
            IsSignatureUpdated(typeof(Board).GetMethod("DeleteComment"));
        }

        [Test]
        public void OpenTopicTest()
        {
            IsSignatureUpdated(typeof(Board).GetMethod("OpenTopic"));
        }

        [Test]
        public void CloseTopicTest()
        {
            IsSignatureUpdated(typeof(Board).GetMethod("CloseTopic"));
        }

        [Test]
        public void FixTopicTest()
        {
            IsSignatureUpdated(typeof(Board).GetMethod("FixTopic"));
        }

        [Test]
        public void UnfixTopicTest()
        {
            IsSignatureUpdated(typeof(Board).GetMethod("UnfixTopic"));
        }
    }
}
